-
Home
-
Jetpack Boost – Website Speed, Performance and Critical CSS
-
1.7.0
-
Code
-
Classes
- REST_Products
Total Complexity |
17 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
194 |
Lines of code |
123 |
Logical lines of code |
35 |
Comment lines |
53 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
45 |
1 |
51 |
activate_product() |
S |
56 |
3 |
17 |
deactivate_product() |
S |
56 |
3 |
17 |
edit_permissions_callback() |
S |
66 |
4 |
9 |
check_product_argument() |
S |
64 |
2 |
10 |
get_products_schema() |
S |
67 |
1 |
8 |
permissions_callback() |
S |
80 |
1 |
3 |
get_products() |
S |
75 |
1 |
4 |
get_product() |
S |
74 |
1 |
4 |